<?php 
require dirname(__FILE__).'/../Template.php';

$tpl = new Template();
$ret = $tpl->compile('hello,${site}welcome${expo.startTime}', array('site' => '中国婚博会', 'expo' => array('startTime' => '2012-09-08')));
var_dump($ret);